package com.nativetalk.dao;

import com.nativetalk.bean.TdNtTeacherPicture;
import com.nativetalk.bean.picture.TdNtTeacherPictureList;

import java.util.List;

/**
 * Created by lizhun on 2016/11/1.
 */
@MyBatisRepository
public interface TdNtTeacherPictureDao {
    /**
     * @Purpose
     * @Purpose  添加图片
     * @version  4.0
     * @author   lizhun
     * @param    tdNtTeacherPicture
     * @return   void
     */
    public void insertPicture(TdNtTeacherPicture tdNtTeacherPicture);
    /**
     * @Purpose
     * @Purpose  修改图片
     * @version  4.0
     * @author   lizhun
     * @param    tdNtTeacherPicture
     * @return   void
     */
    public void updatePicture(TdNtTeacherPicture tdNtTeacherPicture);
    /**
     * @Purpose
     * @Purpose  查找图片
     * @version  4.0
     * @author   lizhun
     * @param    tea_id
     * @return   List<TdNtTeacherPictureList>
     */
    public List<TdNtTeacherPictureList> findPictureByTeaId(int tea_id);
    /**
     * @Purpose
     * @Purpose  查找图片数量
     * @version  4.0
     * @author   lizhun
     * @param    tea_id
     * @return   int
     */
    public int findPictureByTeaIdSize(int tea_id);
}
